package com.easy.common.util;

public class SYSUtil {
    public  static  boolean checkNotNull(Object... objs){
        boolean result=true;
        if (objs.length==0){
            return false;
        }
        for (Object obj:objs){
            if (obj==null){
                result=false;
                break;
            }
        }
        return result;
    }

    public static boolean checkNotEmpty(String... strs){
        boolean result=true;
        if (!checkNotNull(strs)){
            return false;
        }
        for (String str:strs){
            if (str.isEmpty()){
                result=false;
                break;
            }
        }
        return result;
    }

}
